package com.hejie.videoservice.exception;

import com.hejie.common.exception.BaseException;
import com.hejie.common.enums.ErrorCode;

public class VideoNotFoundException extends BaseException {

    public VideoNotFoundException() {
        super(ErrorCode.RESOURCE_NOT_FOUND, "视频不存在");
    }

    public VideoNotFoundException(String message) {
        super(ErrorCode.RESOURCE_NOT_FOUND, message);
    }

    public VideoNotFoundException(Long videoId) {
        super(ErrorCode.RESOURCE_NOT_FOUND, "视频ID为" + videoId + "的视频不存在");
    }
}